package aima.search;

import java.lang.*;
import java.util.*;
import aima.cs.util.*;

/**
    Greedy search: redefines constructor to use priority queue
    with Greedy predicate.
*/


public class GreedySearch extends GeneralQueueSearch {

    public GreedySearch(State startState) {
        super((SearchNode)(new HeuristicSearchNode(startState)), 
              new PriorityQueue(new GreedyPredicate()));
    }

}
   

























